﻿@using CREAPA.UL.Web.Models;
@using CREAPA.UL.Web.HtmlHelpers
@model CREAPA.Dominio.Portaria

@{
    ViewBag.Title = "Portaria";
    Layout = "~/Views/Shared/_LayoutSemTopo.cshtml";
}
<style>
    * {
        margin: 0;
        padding: 0;
    }

    nav, footer, video, audio, object, embed {
        display: none;
    }

    * {
        background: transparent !important;
        color: #000 !important;
        text-shadow: none !important;
        filter: none !important;
        font-size:16px !important;
    }

    body {
        margin: 0;
        padding: 0;
        line-height: 1.4em;
    }

    fieldset {
        border: 0;
        width: 646PX;
        text-align: justify;
    }


    body, input, select, textarea, button {
        font-family: sans-serif;
        font-size: 1em;
    }

    .grupo:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

    .assinatura {
        width:250px;
        margin-left: 400px;
    }

    fieldset.assinatura {
        margin-bottom: 0PX;
    }

    .noprint {
        border-top: 1px #96d1f8 !important;
        background: #65a9d7 !important;
        background: -webkit-gradient(left top, left bottom, from(#3e779d), to(#65a9d7)) !important;
        background: -webkit-linear-gradient(top, #3e779d, #65a9d7) !important;
        background: -moz-linear-gradient(top, #3e779d, #65a9d7) !important;
        background: -ms-linear-gradient(top, #3e779d, #65a9d7) !important;
        background: -o-linear-gradient(top, #3e779d, #65a9d7) !important;
        padding: 5.5px 12px !important;
        -webkit-border-radius: 8px !important;
        -moz-border-radius: 4px !important;
        border-radius: 4px !important;
        -webkit-box-shadow: rgba(0,0,0,0) 0 1px 0 !important;
        -moz-box-shadow: rgba(0,0,0,0) 0 1px 0 !important;
        box-shadow: rgba(0,0,0,0) 0 1px 0 !important;
        text-shadow: rgba(0,0,0,0) 0 1px 0 !important;
        color: white !important;
        font-size: 12px !important;
        text-decoration: none !important;
        vertical-align: middle !important;
    }
        .noprint:hover {
            border-top: 1px #96d1f8;
            background: #28597a;
        }

        .noprint:active {
            border-top: 1px #96d1f8;
            background: #28597a;
        }

    .art-sheet {
        background: #FFFFFF;
        -webkit-box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.15);
        box-shadow:none !important;
        border:none !important;
        padding: 10px;
        margin:0 !important;
        position: relative;
        cursor: auto;
        width: 90%;
        min-width: 700px;
        max-width: 1728px;
        z-index: auto !important;
    }
</style>

<fieldset>
    <div>
        <img src="~/Content/images/logo-crea.jpg" style="width: 250px; height: 70px; margin-left: 0px; margin-top: 8px;">
    </div>
    <br />
    <center>PORTARIA N°. @Html.DisplayFor(model => model.Numero) / @Html.DisplayFor(model => model.Ano)</center>
    <br />
    O PRESIDENTE DO CONSELHO REGIONAL DE ENGENHARIA E AGRONOMIA DO PARÁ- CREA-PA, usando das atribuições que lhe são conferidas pela Lei Federal nº 5.194, de 24 de
dezembro de 1966 em seu Art. 34 e, ainda, as disposições do Regimento Interno deste Órgão.
    <br />
    <br />
    <div class="display-field">
        @Html.Raw(@ViewBag.Descricao)
    </div>
    <br />
    DÊ-SE CIÊNCIA, REGISTRE-SE E CUMPRA-SE
    <br />
    Belém,    @Html.DisplayFor(model => model.DataPortaria)
    <br />
    <br />
    <br />
    <div class="assinatura">
        <div class="display-field">
            <center>@Html.DisplayFor(model => model.PresidenteAssinou)
                <div>
                    @Html.DisplayFor(model => model.CargoPresidente)
                </div>
            </center>
        </div>
    </div>
<div style="margin-left: 600px;">
<p>
    <input type="button" name="print" value="Imprimir" onclick="javascript: window.print();" class="noprint">
</p></div>
</fieldset>
